﻿using Microsoft.EntityFrameworkCore;
using Traceability.Doamin;

namespace Traceability.Infratruvture
{
    public class SCDbCotext : DbContext
    {
        public SCDbCotext(DbContextOptions options) : base(options)
        {
        }

        public DbSet<User> Users { get; set; }
        public DbSet<CommodityName> CommodityNames { get; set; }
        public DbSet<Commodity> Commoditys { get; set; }
        public DbSet<Cultivation> Cultivations { get; set; }
        public DbSet<Enterprise> Enterprises { get; set; }
        public DbSet<Imager> Imagers { get; set; }
        public DbSet<Immunity> Immunitys { get; set; }
        public DbSet<Processing> Processings { get; set; }
        public DbSet<Slaughter> Slaughters { get; set; }
        public DbSet<Vendor> Vendors { get; set; }
    }
}
